package com.umeng.soexample.mvp.contract;

import com.umeng.lib_core.mvp.model.IModel;
import com.umeng.lib_core.mvp.view.IView;
import com.umeng.soexample.bean.SelUserEntity;
import com.umeng.soexample.bean.UpdateUserEntity;
import com.umeng.soexample.bean.UploadHeadEntity;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.MultipartBody;


public interface SelUserFragmentContract {

    interface SelUserFragmentIView extends IView {
        void SelUserSuccess(SelUserEntity entity);
        void UpdateUserSuccess(UpdateUserEntity entity);
        void UploadHeadSuccess(UploadHeadEntity entity);
    }

    interface SelUserFragmentIModel extends IModel {
        Observable<SelUserEntity> sel_user_request(String request);
        Observable<UpdateUserEntity> update_user__request(String request);
        Observable<UploadHeadEntity> upload_head_request(List<MultipartBody.Part> request);
    }



}
